package com.songlanyun.common.utils.tree;

import java.util.List;

/**
 * 返回树形结构数据的模型类
 * Created by zenghang on 2019/7/31.
 */
public class TreeModel<T>  extends TreeBaseBean{
    private List<TreeModel<T>> children;
    private T data;

    public List<TreeModel<T>> getChildren() {
        return children;
    }

    public void setChildren(List<TreeModel<T>> children) {
        this.children = children;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
